package com.wsbombphoto.controller;

import java.util.ArrayList;

import com.wsbombphoto.dao.UserDao;
import com.wsbombphoto.model.User;

public class UserController {

	public ArrayList<User> listAll() {
		return UserDao.getInstance().getAll();
	}

	public User getUser(int idUser) {
		return UserDao.getInstance().getUser(idUser);
	}

	public User getLogin(String userName, String password) {
		return UserDao.getInstance().getLogin(userName, password);
	}

}
